<script type="hidden/javascript">
	$(document).ready(function() {
	});

	  
	

	function batal2(){
 
		$.fancybox.close();
		 
	}
 
</script>
 
	 
<div style="margin-top:20px;"><h1>Update Data MP</h1></div>
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">

<tr>
	<td id="tbl-border-left"> </td>
	<td> 
		<div style="width:500px; ">
		 			 
			<?php 
				$attributes = array('name' => 'form1', 'id' => 'form1', 'class'=>'block-content form');
				echo form_open_multipart('update_mp/process_update', $attributes);
			?>
			 
			<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">	
				 
				<tbody>
			 
				<?php 
				$i=0;
				foreach($results->result() as $row) 
				{
				$i=$i+1;
				?> 
				<!--
				<tr>
					<td >ID Usulan MP</td>  
					<td>  
						<? echo $row->id_usulanmp  ?>
						<? echo "<input type='hidden'  name='id_usulanmp'  id='id_usulanmp' value='".$row->id_usulanmp ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>ID RPIJM</b></td>  
					<td>  
					<? echo $row->id_rpijm  ?>
						<? echo "<input  type='hidden' name='id_rpijm'  id='id_rpijm' value='".$row->id_rpijm ."'>"?>
					</td>
				</tr>
				-->
				<tr>
					<td width="150"><b>Kode Program</b></td> 
					<td> 
					<? echo $row->kd_program  ?>
						<? echo "<input  type='hidden' name='kd_program'  id='kd_program' value='".$row->kd_program ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Nama Kegiatan</b></td> 
					<td>  
					<? echo $row->nama_kegiatan  ?>
						<? echo "<input  type='hidden' name='nama_kegiatan'  id='nama_kegiatan' value='".$row->nama_kegiatan ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Tahun Anggaran</b></td> 
					<td>  
						<? echo "<input   name='tahun_anggaran'  id='tahun_anggaran' value='".$row->tahun_anggaran ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Tahun Usulan MP</b></td> 
					<td>  
						<? echo "<input   name='tahun_usulan_mp'  id='tahun_usulan_mp' value='".$row->tahun_usulan_mp  ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana APBN</b></td>   
					<td>  
						<? echo "<input     name='apbn'  id='apbn' value='".$row->apbn ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana PLN</b></td>   
					<td> 
						<? echo "<input     name='pln'  id='pln' value='".$row->pln ."'>"?>
					</td>
				</tr>
				 <tr>
					<td><b>Dana Hibah</b></td>   
					<td> 
						<? echo "<input     name='hibah'  id='hibah' value='".$row->hibah ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana APBN Propinsi</b></td>   
					<td> 
						<? echo "<input     name='apbd1'  id='apbd1' value='".$row->apbd1 ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana APBN Kota</b></td>   
					<td> 
						<? echo "<input     name='apbd2'  id='apbd2' value='".$row->apbd2 ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana PDAM</b></td>   
					<td> 
						<? echo "<input     name='pdam'  id='pdam' value='".$row->pdam ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana Swaswa</b></td>   
					<td> 
						<? echo "<input     name='swasta'  id='swasta' value='".$row->swasta ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana Masyarakat</b></td>   
					<td> 
						<? echo "<input     name='masy'  id='masy' value='".$row->masy ."'>"?>
					</td>
				</tr>
				<tr>
					<td><b>Dana DAK</b></td>   
					<td> 
						<? echo "<input     name='dak'  id='dak' value='".$row->dak ."'>"?>
					</td>
				</tr> 
				<?php } ?>	
				</tbody> 
			</table> 
				 
				
				
				<input type="submit" value="Simpan" class="form-submit" />
				<input type="reset" value="Batal" class="form-reset" onclick="javascript:batal2();" /> 
				</form>		
				
		 	
		</div> 
	</td>
	<td  id="tbl-border-right"> </td>
</tr>
</table>
  
			